package mapper;

import org.apache.ibatis.annotations.Param;
import pojo.User;

import java.util.List;
import java.util.Map;

public interface UserMapper {
    void insertUser(User user);
    void deleteUser();
    void updateUser();
    User selectUser(String name);
    User checkLogin(String name, String password);
    User checkLoginByMap(Map<String, Object> map);
    User checkLoginByParam(@Param("name") String name, @Param("password")String password);
    List<User> selectAllUser();
}
